package com.zhongshengnetwork.rightbe.gsonmodel;

import java.io.Serializable;

/**
 * Created by luojingxing on 2018/4/1.
 */

public class PKMsgModel  implements Serializable {
    //格式：extra:类型,string content:jsonString

//答题结果通知
//"name":"PK:Answer"
//content:{"name":"PK:Answer","answer":"A","time":8}
public static final String PKAnswer = "PK:Answer";

//强制退出通知
//"name":"PK:Quit"
//content:{"name":"PK:Quit","type":0,"content":"中断了"}
public static final String  PKQuit = "PK:Quit";

//接收者准备好通知
//发起者准备好通知
//"name":"PK:Ready"
//content:{"name":"PK:Ready","time":2, "appid":,"goldcount":,"header":,"levelName":,"nickname":."playlevel":,"role":,"userid","area":}
public static final String PKReady = "PK:Ready";

//对战结果通知
//"name":"PK:Result"
//content:{"name":"PK:Result","senduserid":"","sendscore":,"sendwinlinkcount":,"sendlinkcorrect":,"addplaylevelsend":,"addgoldcountsend":,"acceptuserid":"","acceptscore":,"acceptwinlinkcount":,"acceptlinkcorrect":,"addplaylevelaccept":,"addgoldcountaccept":,}
public static final String PKResult = "PK:Result";

    private int  roomID;
    private String targetId;

    private String name;
    private String answer;
    private int  time;
    private int  type;
    private String content;

    private String appid;
    private int  goldcount;
    private String header;
    private String levelName;
    private String nickname;
    private int  playlevel;
    private int  role;
    private String userid;
    private String area;

    private String senduserid;
    private int  sendscore;
    private int  sendwinlinkcount;
    private int  sendlinkcorrect;
    private int  addplaylevelsend;
    private int  addgoldcountsend;

    private String acceptuserid;
    private int  acceptscore;
    private int  acceptwinlinkcount;
    private int  acceptlinkcorrect;
    private int  addplaylevelaccept;
    private int  addgoldcountaccept;


    public int getRoomID() {
        return roomID;
    }

    public void setRoomID(int roomID) {
        this.roomID = roomID;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public int getGoldcount() {
        return goldcount;
    }

    public void setGoldcount(int goldcount) {
        this.goldcount = goldcount;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getPlaylevel() {
        return playlevel;
    }

    public void setPlaylevel(int playlevel) {
        this.playlevel = playlevel;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getSenduserid() {
        return senduserid;
    }

    public void setSenduserid(String senduserid) {
        this.senduserid = senduserid;
    }

    public int getSendscore() {
        return sendscore;
    }

    public void setSendscore(int sendscore) {
        this.sendscore = sendscore;
    }

    public int getSendwinlinkcount() {
        return sendwinlinkcount;
    }

    public void setSendwinlinkcount(int sendwinlinkcount) {
        this.sendwinlinkcount = sendwinlinkcount;
    }

    public int getSendlinkcorrect() {
        return sendlinkcorrect;
    }

    public void setSendlinkcorrect(int sendlinkcorrect) {
        this.sendlinkcorrect = sendlinkcorrect;
    }

    public int getAddplaylevelsend() {
        return addplaylevelsend;
    }

    public void setAddplaylevelsend(int addplaylevelsend) {
        this.addplaylevelsend = addplaylevelsend;
    }

    public int getAddgoldcountsend() {
        return addgoldcountsend;
    }

    public void setAddgoldcountsend(int addgoldcountsend) {
        this.addgoldcountsend = addgoldcountsend;
    }

    public String getAcceptuserid() {
        return acceptuserid;
    }

    public void setAcceptuserid(String acceptuserid) {
        this.acceptuserid = acceptuserid;
    }

    public int getAcceptscore() {
        return acceptscore;
    }

    public void setAcceptscore(int acceptscore) {
        this.acceptscore = acceptscore;
    }

    public int getAcceptwinlinkcount() {
        return acceptwinlinkcount;
    }

    public void setAcceptwinlinkcount(int acceptwinlinkcount) {
        this.acceptwinlinkcount = acceptwinlinkcount;
    }

    public int getAcceptlinkcorrect() {
        return acceptlinkcorrect;
    }

    public void setAcceptlinkcorrect(int acceptlinkcorrect) {
        this.acceptlinkcorrect = acceptlinkcorrect;
    }

    public int getAddplaylevelaccept() {
        return addplaylevelaccept;
    }

    public void setAddplaylevelaccept(int addplaylevelaccept) {
        this.addplaylevelaccept = addplaylevelaccept;
    }

    public int getAddgoldcountaccept() {
        return addgoldcountaccept;
    }

    public void setAddgoldcountaccept(int addgoldcountaccept) {
        this.addgoldcountaccept = addgoldcountaccept;
    }
}
